home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_parent.life > 6)
- {
- if(this._y <= 561)
- {
- this._y += 5;
- }
- else
- {
- _global.mojo -= 2;
- this._x = random(28) * 10 + 10;
- this._y = - random(500);
- }
- }
- if(this.hitTest(_parent.drag) and _global.die == false)
- {
- _parent.drag.gotoAndPlay("die");
- _parent.shak.gotoAndPlay(1);
- this._x = random(28) * 10 + 10;
- this._y = - random(500) - 1500;
- _parent.score -= 300;
- }
- if(this.hitTest(_parent.shot1))
- {
- _parent.shot1.gotoAndStop(1);
- _global.kills += 1;
- _parent.shak.gotoAndPlay(1);
- _parent.attachMovie("t3_fader","fader3",100);
- _parent.fader3._x = this._x;
- _parent.fader3._y = this._y;
- _parent.fader3._xscale = 75;
- _parent.fader3._yscale = 75;
- _parent.score += 300;
- this._x = random(28) * 10 + 10;
- this._y = - random(500) - 1500;
- }
- if(_global.bosstime > 0)
- {
- this.gotoAndStop("exit");
- }
- }
-